package com.bms.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

import com.bms.bean.User;
@Qualifier
@Repository
public interface UserDao {
	
	String getUserSequence();
	
	long addUser(User user);
	
	void updateUser(User user);
	
	User getUserById(@Param("userId")String userId,@Param("userStatus")int userStatus);
	
	User getUserByNickName(@Param("nickName")String nickName);
}
